﻿namespace IOA.MES.DataAccess.VModel
{
    /// <summary>
    /// 结转单产品
    /// </summary>
    public class VCarryOverProduct : BaseVModel
    {
        private string _carryOverNo = string.Empty;
        private string _productCode = string.Empty;
        private string _productName = string.Empty;
        private string _batchNo = string.Empty;

        #region Public Property

        ///<Summary>
        /// CarryOverNo
        ///</Summary>
        public string CarryOverNo
        {
            get { return string.IsNullOrWhiteSpace(_carryOverNo) ? string.Empty : _carryOverNo; }
            set { _carryOverNo = value; }
        }

        ///<Summary>
        /// ProductCode
        ///</Summary>
        public string ProductCode
        {
            get { return string.IsNullOrWhiteSpace(_productCode) ? string.Empty : _productCode; }
            set { _productCode = value; }
        }

        ///<Summary>
        /// ProductName
        ///</Summary>
        public string ProductName
        {
            get { return string.IsNullOrWhiteSpace(_productName) ? string.Empty : _productName; }
            set { _productName = value; }
        }

        ///<Summary>
        /// BatchNo
        ///</Summary>
        public string BatchNo
        {
            get { return string.IsNullOrWhiteSpace(_batchNo) ? string.Empty : _batchNo; }
            set { _batchNo = value; }
        }

        ///<Summary>
        /// Quality
        ///</Summary>
        public decimal Quantity { get; set; }
        #endregion
    }
}
